﻿namespace Example
{
    using System;

    using FluentAutomation.API;

    using Xunit;

    public sealed class AlanDeanFacts : FluentTest
    {
        // Windows Data Execution Prevention detected an add-on trying to use system memory incorrectly.
        [Fact(Skip = "System.Runtime.InteropServices.COMException : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)")]
        public void about()
        {
            const string title = "Alan Dean";

            I.Open(new Uri("http://www.alan-dean.com/about"));
            I.Wait(2);
            I.Expect.Text(title).In("title");
            I.Expect.Text(title).In("#title");
        }
    }
}